/*
 * FuncionarioForm.java
 * 
 * Created on 11/09/2007, 11:31:32
 * 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tcc.gui.web.struts.funcionario;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import tcc.domain.login.TCCSystemUser;


public class FuncionarioForm extends ActionForm{

    private TCCSystemUser funcionario = new TCCSystemUser();

    public TCCSystemUser getFuncionario() {
        return funcionario;
    }

    public void setFuncionario(TCCSystemUser funcionario) {
        this.funcionario = funcionario;
    }

    @Override
    public void reset(ActionMapping mapping, HttpServletRequest request) {
          funcionario = new TCCSystemUser();
    }

    @Override
    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
        return null;
    }
    
    
    
}
